﻿
-- =============================================
-- Author:		Naresh N Jamadagni
-- Create date: 21 May 2012
-- Description:	Delets all the processes for specified computer
-- =============================================
CREATE PROCEDURE [dbo].[AddDependentServiceEntry]
(
			@ComputerId int,
            @ServiceName nvarchar(200),
            @DependentServiceName nvarchar(200)
)
AS

BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
   INSERT INTO [dbo].[DependentService]
           ([ComputerId]
           ,[ServiceName]
           ,[DependentServiceName])
     VALUES
           (@ComputerId ,
           @ServiceName,
           @DependentServiceName);
END


